﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace WebSite.Core
{
    /// <summary>
    ///BaseUserControl 的摘要说明
    /// </summary>
    public class BaseUserControl : System.Web.UI.UserControl
    {
        public BasePage BasePage
        {
            get
            {
                return new BasePage();
            }
        }

        public bool IsLogin
        {
            get
            {
                return BasePage.IsLogin;
            }
        }

        public LoginUser ThisUser
        {
            get
            {
                return BasePage.CurrentUser;
            }
        }


        public BaseUserControl()
        {

        }
    }
}